#ifndef SDLSTART_H_INCLUDED
#define SDLSTART_H_INCLUDED
#include "SDL/SDL.h"
#include "SDL/SDL_image.h"
#include <string>
#include "SDL/SDL_audio.h"
#include "SDL/SDL_mixer.h"

using namespace std;

class sdlstart
{
    private:

    public:
        //Screen attributes
        int SCREEN_WIDTH; //= 800;
        int SCREEN_HEIGHT; //= 600;
        int SCREEN_BPP; //= 32;

        //The surfaces
        SDL_Surface *background;// = NULL;
        SDL_Surface *char1;// = NULL;
        SDL_Surface *char2;
        SDL_Surface *char3;
        SDL_Surface *enemy;// = NULL;
        SDL_Surface *enemy2;
        SDL_Surface *hud;
        SDL_Surface *screen;// = NULL;
        SDL_Surface *enemyhealthbar;
        SDL_Surface *char1healthbar;
        SDL_Surface *char2healthbar;
        SDL_Surface *char3healthbar;

        //For hud
        SDL_Surface *Gruff_Hud;
        SDL_Surface *Ehron_Hud;
        SDL_Surface *Wiz_Hud;

        //The event structure that will be used
        SDL_Event event;

        //constructor
        sdlstart();

        //load_image method
        SDL_Surface *load_image( std::string filename );

        void apply_surface( int x, int y, SDL_Surface* source, SDL_Surface* destination );

        bool init();

        bool load_files();

        void clean_up();
};
#endif

